<?php if (count($news) > 0): ?>
    <h1 class="title"><?php echo $title; ?></h1>
    <?php foreach($news as $new):
        $uri = get_base_url() . url_title(trim($new->category), 'dash', TRUE) . '/' . url_title(trim($new->title), 'dash', TRUE) . '-n' . $new->cat_id . '-' . $new->id;
        $thumbnail = ($new->thumbnail != '') ? $new->thumbnail : '/images/noimage.jpg';
    ?>
    <div class="list_c_1">
        <a href="<?php echo $uri;?>" class="list_c_2">
            <img src="<?php echo $thumbnail;?>" class="list_c_3 bo_img">
        </a>

        <div class="list_c_4">
            <h3 class="list_c_5">
                <a href="<?php echo $uri;?>"><?php echo $new->title;?></a>
            </h3>
            <p class="list_c_6">
                <?php echo shorten_str($new->summary, MAXLENGHT_HP_NEWS_DESCRIPTION);?>
            </p>
            <p class="pull-right">
                <a href="<?php echo $uri;?>" class="list_c_7">Xem tiếp <strong>»</strong></a>
            </p>
        </div>
        <div class="clearfix"></div>
    </div>
    <hr class="cach">
    <?php endforeach;?>
<?php endif; ?>
<div class="pull-right">
    <?php echo isset($pagination) ? '<div class="pagination">' . $pagination . '</div>' : ''; ?>
</div>